/*
 * (C) 2014-2015 Alibaba Group Holding Limited
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 *
 *
 *     __  ___   ______        ___       __          ___
 *    |  |/  /  /  __  \      /   \     |  |        /   \
 *    |  '  /  |  |  |  |    /  ^  \    |  |       /  ^  \
 *    |    <   |  |  |  |   /  /_\  \   |  |      /  /_\  \
 *    |  .  \  |  `--'  |  /  _____  \  |  `----./  _____  \
 *    |__|\__\  \______/  /__/     \__\ |_______/__/     \__\
 *
 *
 *
 */
//
// Created by KOALA TEAM on 12/19/14.
//

#import "KLLog.h"


@implementation KLLogConfiguration

+ (void)initialize{
    [super initialize];
     [[DDTTYLogger sharedInstance] setColorsEnabled:YES];// 启用颜色区分
}

+ (void)addLogger:(id <DDLogger>)logger{
    NSParameterAssert(logger);
    [DDLog addLogger:logger];
}
+ (void)enableColor:(BOOL)enable{
    [[DDTTYLogger sharedInstance] setColorsEnabled:enable];// 启用颜色区分
}
+ (void)removeLogger:(id <DDLogger>)logger{
    [DDLog removeLogger:logger];
}
+ (void)removeAllLoggers{
    [DDLog removeAllLoggers];
}


@end
